package router

import (
	"github.com/gin-gonic/gin"
	"project-im/config"
	"project-im/internal/api/system"
	"project-im/tools"
)

func SysTemRouter(router *gin.RouterGroup) {
	systemModel := router.Group("system").Use(tools.JWTAuth(config.AppConfig.Key))
	{
		systemModel.GET("config", system.Config)
	}
}
